REM -----  SET REQUIRED ENVIRONMENT VARIABLES  -----
REM -----  FOR SOFTPAY VERIX DEVELOPMENT       -----

REM -----  SET SOFTPAY LIBRARIES ROOT
SET VFSDK=\VERIXAPS\VFSDK
SET ACT2000=\VERIXAPS\ACT2000
SET CARDSLOT=\VERIXAPS\CARDSLOT
SET VMAC=\VERIXAPS\VMAC
SET VTMA=\VERIXAPS\VTMA
SET VERIFIND=\VERIXAPS\VERIFIND
SET VVXEMVAP=\VERIXAPS\VXEMVAP
SET MSNGR=\VERIXAPS\MESSENGER
SET SERF=\VERIXAPS\SERF
SET UCL=\VERIXAPS\UCL
SET TCPIP=\VERIXAPS\TCPIP

if NOT %SP_HW%. ==ADS. goto  verison
REM SET VFSDK=\VERIXVAPS\VFSDK
SET VFSDK=\VerixVAps\VRXSDK
SET ACT2000=\VERIXVAPS\ACT2000
SET CARDSLOT=\VERIXVAPS\CARDSLOT
SET VMAC=\VERIXVAPS\VMAC
SET VTMA=\VERIXVAPS\VTMA
REM SET VERIFIND=\VERIXVAPS\VERIFIND
SET VVXEMVAP=\VERIXVAPS\VXEMVAP
SET MSNGR=\VERIXVAPS\MESSENGER
SET SERF=\VERIXVAPS\SERF
SET UCL=\VERIXVAPS\UCL
SET TCPIP=\VERIXVAPS\TCPIP
SET VRXSDK=\VerixVAps\VRXSDK\VER190

:verison


REM -----  SET SOFTPAY LIBRARY VERSIONS  these are set for SDS

SET SDK_VER=ver240
SET ACT_VER=ver163
SET CLS_VER=ver130
SET VMAC_VER=ver144
SET VTMA_VER=ver110
SET VRF_VER=ver10
SET XEMV_VER=ver305
SET MSNGR_VER=ver100
SET SERF_VER=Ver2.2.2.E
SET UCL_VER=ver155
SET TCPIP_VER=ver155

SET LANGUAGE=ENGL
SET LANG1=E
if NOT %SP_HW%. ==ADS. goto skip
set SDK_VER=Ver190
set ACT_VER=VER200
SET VMAC_VER=Ver300
SET CLS_VER=Ver150
SET VTMA_VER=Ver200
SET VRF_VER=Ver10
SET XEMV_VER=Ver305
REM SET EMV_VER=Ver10
SET MSNGR_VER=Ver200
SET SERF_VER=Ver2.2.2.E
SET UCL_VER=Ver200
SET TCPIP_VER=Ver220
:skip

REM -----  SET SOFTPAY APPLICATION VERSION AND HOST 
SET SP_VER=Ver30
SET SP_PROJ=CITI

REM -----  SET SOFTPAY APPLICATION ROOT
SET SP_ROOT=\SoftPay\%SP_VER%

REM -----  SET SERF SUPPORT DATA GENERATION SUPPORT
REM NOTE:  SP_SERF MUST be TRUE if either SERF_PRINT or SERF_MENU are true
REM        VAR. set to TRUE enables data build
REM        VAR. set to <empty> disables data build

SET SP_SERF=
SET SP_SERF=
SET SERF_PRINT=
SET SERF_PRINT=
SET SERF_MENU=
SET SERF_MENU=

REM -----  SET SOFTPAY OUTPUT DIRECTORY STRUCTURE
REM if %SPOUTDIR%. ==. SET SPOUTDIR=%SP_PROJ%
SET SPOUTDIR=%SP_PROJ%

SET SPFILES=%SP_ROOT%\Output\%SPOUTDIR%\%SP_HW%\Files
SET SPDLD=%SP_ROOT%\Output\%SPOUTDIR%\%SP_HW%\Download
SET SPEXPORT=%SP_ROOT%\Output\%SPOUTDIR%\%SP_HW%\Export

REM -----  SDS Tools Related Paths
SET SDS_TOOLS=%SDS%\cmd
SET SRC_ROOT=%SP_ROOT%\Source

SET CARDSLOT_INCLUDE=%CARDSLOT%\%CLS_VER%\include

REM -----  Compiler/Linker/Outhdr Output Paths
SET OBJ_DIR=%SP_ROOT%\Projects\%SP_PROJ%\Obj\%SP_HW%
SET LIB_DIR=%SP_ROOT%\Projects\%SP_PROJ%\Lib\%SP_HW%
SET DBG_DIR=%SP_ROOT%\Projects\%SP_PROJ%\Debug\%SP_HW%
SET CFG_DIR=%SP_ROOT%\Projects\%SP_PROJ%\Config\%SP_HW%

REM -----  Include Paths
SET SDS_INCLUDES=%VFSDK%\%SDK_VER%\include
SET ACT_INCLUDES=%ACT2000%\%ACT_VER%\include
SET SP2_INCLUDES=%SRC_ROOT%\include
SET SERF_INCLUDES=%SERF%\%SERF_VER%\include
SET VVXEMV_INCLUDES=%VVXEMVAP%\%XEMV_VER%\include
SET CLS_INCLUDES=%CARDSLOT%\%CLS_VER%\include
SET VMAC_INCLUDE=%VMAC%\%VMAC_VER%\include
SET VMAC_INCLUDES=%VMAC%\%VMAC_VER%\include
SET VTMA_INCLUDES=%VTMA%\%VTMA_VER%\include
SET MSNGR_INCLUDES=%MSNGR%\%MSNGR_VER%\include
SET PRT_CNTL_INCLUDES=%SRC_ROOT%\PrtCntl
SET COMMH_INCLUDES=%SRC_ROOT%\CommHandler
SET UCL_INCLUDES=%UCL%\%UCL_VER%\include
SET TCPIP_INCLUDES=%TCPIP%\%TCPIP_VER%\include
SET TCPIP_VRX_INCLUDES=%TCPIP%\%TCPIP_VER%\VerixInclude

REM -----  SET SOFTPAY TOOLS DIRECTORY
if %SP_HW%. ==ADS. @SET SPTOOLS=\VERIXVAPS\TOOLS\ver200
if %SP_HW%. ==SDS. @SET SPTOOLS=\VERIXAPS\TOOLS\ver120

REM Tools will be same 

REM -----  SET COMPILER OPTIONS
if %SP_HW%. ==SDS. @SET GCOPTIONS=-l -O ASEFLGd
if %SP_HW%. ==ADS. @SET GCOPTIONS=
if %SP_HW%. ==ADS. @SET GCOPTIONS=--thumb -g+ --apcs --adsabi --diag_suppress 1,611,815,550,962 

REM -----  SET PROJECT SPECIFIC DEFINITIONS
SET PROJ_ALLIN="%SP_PROJ%ALL.IN"
SET PROJ_DATAIN="%SP_PROJ%DATA.ALL"
